This registers an interpreter using the name name. The name must be unique to the server. It takes a tcl interpreter and a toplevel widget as additional arguments. This creates two commands within the interpreter, send and interps.
The send command behaves like the send command for Tk: given an interpreter name and a command, it executes the command in that interpreter. The interpreter for the command may be the current interpreter.
The interps command returns a list of interpreters currently known to the server. Some of these may be dead. However, every registered interpreter should be in this list. That is, it includes every known interpreter, including some that no longer exist.
See the book on Tcl/Tk by John Ousterhout, or the Tk doco for "send".
Jan Newmarch, University of Canberra
(jan@ise.canberra.edu.au)